import request from "@/utils/request";

/**
 * 获取全球大区数据列表
 * @param params
 * @returns
 */
export function getContinentsList(data) {
  return request({
    url: '/management/earth.country/getContinentsList',
    method: 'post',
    data
  })
}

/**
 * 获取全球国家数据列表
 * @param params
 * @returns
 */
export function getCountriesList(data) {
  return request({
    url: '/management/earth.country/getCountriesList',
    method: 'post',
    data
  })
}

/**
 * 获取国家州省数据列表
 * @param params
 * @returns
 */
export function getStatesList(data) {
  return request({
    url: '/management/earth.country/getStatesList',
    method: 'post',
    data
  })
}

/**
 * 获取城市信息列表
 * @param params
 * @returns
 */
export function getCitiesList(data) {
  return request({
    url: '/management/earth.country/getCitiesList',
    method: 'post',
    data
  })
}

/**
 * 获取县区信息列表
 * @param params
 * @returns
 */
export function getRegionsList(data) {
  return request({
    url: '/management/earth.country/getRegionsList',
    method: 'post',
    data
  })
}

/**
 * 获取国内大区数据列表
 * @param params
 * @returns
 */
export function getAreaList(data) {
  return request({
    url: '/management/earth.country/getAreaList',
    method: 'post',
    data
  })
}

/**
 * 获取时区列表
 * @param params
 * @returns
 */
export function getList(data) {
  return request({
    url: '/management/earth.timezone/getList',
    method: 'post',
    data
  })
}